<template>
    <div class="item-box flex">
        <div class="suffix flex">{{ props.data.suffix }}</div>
        <p class="ellipsis text">{{ props.data.name }}</p>
    </div>
</template>
<script lang="ts" setup>
import type { FileDataFace } from "./imgGrupTypes";
interface Props {
    data:FileDataFace
}
const props = defineProps<Props>()
</script>
<style lang="scss" scoped>
.suffix{
    height: 100px;
}
.item-box{
    height: 120px;
    border:1px solid #eee;
    flex-direction: column;
    border-radius: 6px;
    padding: 6px;
    
}
.text{
    width: 80px;
    font-size: 14px;
    text-align: center;
}
</style>